class CreateOcurrences < ActiveRecord::Migration
  def self.up
    create_table :ocurrences do |t|
      t.integer :audio_asset_id
	  t.datetime :started_at
	  t.datetime :ended_at
      t.timestamps
    end
  end

  def self.down
    drop_table :ocurrences
  end
end
